const Router = require('koa-router');
const jsdkController = require('../controller/jsdk');
const authController = require('../controller/auth')
const replayController = require('../controller/replay')
const menuController = require('../controller/menu')


var router = new Router();

router.get('jsapi', jsdkController.api.bind(jsdkController))

router.get('auth', authController)

router.post('auth', replayController)

router.get('menu', menuController)

module.exports = router;